package com.leng.service.impl;

import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.leng.mapper.UserMapper;
import com.leng.entity.User;
import com.leng.service.UserService;

import java.util.List;

/**
 * @Author: 冷俊杰
 * @Description: TODO
 * @DateTime: 2022/7/8 13:26
 **/
@Service
public class UserServiceImpl implements UserService{

    @Resource
    private UserMapper userMapper;

    @Override
    public List<User> findUserByUserName(String username) {
        return userMapper.findUserByUserName(username);
    }
}